<?php
class detailAction extends frontAction{
    public function execute(){
        $id = $this->getGetParam('id',0);
        
        $productDao = new DaoProduct();
        $product = $productDao->getOne("id =".$id);
        $this->assign("product",$product);
    }
}
?>